export interface UpdateUserDto {
  headPic?: string;
  nickName?: string;
  isFrozen?: 0 | 1;
}

export interface CreateDailyDto {
  content: string;
  avatar: string;
  images?: string;
}

export interface Comment {
  id: number;
  createDate: string;
  updateDate: string;
  type: number; // 业务类型 1 博客 2 说说 3 评论 4 图片
  content: string;
  createId: number; // 业务id
  userId: number;
  username: string;
  parentId: number | null;
  reply: number;
  menberId: number | null;
  avatar: string;
  like: number;
  commentPic: string | null;
  action: 0;
  ip: string;
  blogId: number | null;
  dailyId: number | null;
  replies: Comment[];
}
// const comment = {
//   id: 5,
//   createDate: "2024-12-17 23:39:22",
//   updateDate: "2024-12-17 23:39:22",
//   type: 2,
//   content: "今飞凯达父",
//   createId: 1,
//   userId: 1,
//   username: "jiangege",
//   parentId: null,
//   reply: 0,
//   menberId: null,
//   avatar:
//     "https://jiangeges.oss-cn-heyuan.aliyuncs.com/front-end/avatar_girl.svg",
//   like: 0,
//   commentPic: null,
//   action: 0,
//   ip: "::1",
//   blogId: null,
//   dailyId: 1,
//   replies: [],
// };
